fix windows build
authorJoey Hess <joeyh@joeyh.name>
Tue, 23 Sep 2025 17:02:24 +0000 (13:02 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 23 Sep 2025 17:02:24 +0000 (13:02 -0400)
Build/NullSoftInstaller.hs

index b2e1209878d0265583e88d11bbb9273217cfda29..c77e573569cab723f0a952750889db2bd11906d5 100644 (file)
@@ -61,7 +61,10 @@ main = do
                let gitannexcmd = tmpdir </> literalOsPath "git-annex.cmd"\r
                F.writeFileString gitannexcmd "git annex %*"\r
                F.writeFileString (toOsPath nsifile) $ makeInstaller\r
-                       gitannex gitannexcmd license htmlhelp (winPrograms ++ magicDLLs') magicShare'\r
+                       gitannex (fromOsPath gitannexcmd) license\r
+                       (fromOsPath htmlhelp)\r
+                       (winPrograms ++ magicDLLs')\r
+                       magicShare'\r
                        [ webappscript, autostartscript ]\r
                mustSucceed "makensis" [File nsifile]\r
        removeFile (toOsPath nsifile) -- left behind if makensis fails\r